package fylder.fish;

import android.annotation.TargetApi;
import android.content.Context;
import android.os.Build;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;

/**
 * Created by qinme on 2015/12/17.
 */
public class FishView extends View {
    public FishView(Context context) {
        this(context, null);
    }

    public FishView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public FishView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init(context);
    }

    @TargetApi(Build.VERSION_CODES.LOLLIPOP)
    public FishView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    void init(Context context) {
        View view = LayoutInflater.from(context).inflate(R.layout.fish_lay, null);
    }


}
